home *** CD-ROM | disk | FTP | other *** search
- Path: nuscc.nus.sg!eng50636
- From: eng50636@leonis.nus.sg (Sun Jian)
- Newsgroups: comp.lang.c++
- Subject: Can I do it recursively?
- Date: 2 Apr 1996 14:15:47 GMT
- Organization: National University of Singapore
- Message-ID: <4jrcqj$3s1@nuscc.nus.sg>
- NNTP-Posting-Host: eng50636@leonis.nus.sg
- X-Newsreader: TIN [version 1.2 PL2]
-
- Hi,
-
- I am doing a program of a famous problem(forget the name, sorry). It is
-
- about how a horse can travel through the whole 8x8 chess board,without
-
- repeating any position that has been travelled(may seem to easy for
-
- experts---I am only a beginner). I want to do it by recursion. But it
-
- seems quite impossible since the run-time is too long.
-
- I just want to know whether there is a good method that can give me the
-
- answer by means of some checking to reduce the possibilities. Is it
-
- possible? (Again, need to be done recursively.)
-
- Any help is appreciated!!!
-
-
-